package com.yanqu.road.entity.servercenter.whitelist;

import java.util.Date;

/**
 * @Author : Cxp
 * @Time : 2024-12-30
 * @Description : 账号白名单实体
 */

public class WhiteAccount {
    int id; // DBId
    String platformUserId; // 平台用户ID
    Date lastLoginTime; // 最后登录时间，默认 2021-03-01
    String remark; // 备注

    public WhiteAccount(String platformUserId, String remark) {
        this.platformUserId = platformUserId;
        this.remark = remark;
    }

    public WhiteAccount(int id, String platformUserId, String remark) {
        this.id = id;
        this.platformUserId = platformUserId;
        this.remark = remark;
    }

    public WhiteAccount(int id, String platformUserId, Date lastLoginTime, String remark) {
        this.id = id;
        this.platformUserId = platformUserId;
        this.lastLoginTime = lastLoginTime;
        this.remark = remark;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPlatformUserId() {
        return platformUserId;
    }

    public void setPlatformUserId(String platformUserId) {
        this.platformUserId = platformUserId;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
